package com.group.commons.service;

import com.group.commons.entity.patient.Patient;
import com.group.commons.util.ResponseInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.data.domain.PageImpl;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@FeignClient(name = "medical-management-patients")
public interface PatientService {

    @RequestMapping("/patient/getData")
    public ResponseInfo<PageImpl<Patient>> getData(@RequestBody Map<String, String> map);
}
